package com.mingdong.first.zhuangshi.decolation;

import com.mingdong.first.zhuangshi.Drink;

public class Decoration extends Drink {

	Drink drink;
	
	public Decoration(Drink drink){
		this.drink = drink;
	}

	@Override
	public float cost() {
		return super.getPrice()+drink.cost();
	}
	
	public String getDescription() {
		return super.description+"-"+this.getPrice()+drink.getDescription();
	}
}
